package net.hn.hnms.sys.common.log.service;


//import org.apache.dubbo.config.annotation.DubboReference;

import net.hn.hnms.sys.system.api.RemoteLogService;
import net.hn.hnms.sys.system.api.domain.SysOperLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 异步调用日志服务
 *
 * @author ruoyi
 */
@Service
public class AsyncLogService {

    @Autowired(required = false)
    private RemoteLogService remoteLogService;

    /**
     * 保存系统日志记录
     */
//    @Async
    public void saveSysLog(SysOperLog sysOperLog) {
        remoteLogService.saveLog(sysOperLog);
    }
}
